package com.ibeetl.cms.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ibeetl.admin.core.entity.BaseEntity;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import java.util.Date;


/* 
* 
* gen by Spring Boot2 Admin 2019-09-30
*/
public class CmsArticle extends BaseEntity{

	@SeqID(name = ORACLE_CORE_SEQ_NAME)
	@AutoID
    private Long id ;
	
	 //删除标识
    @JsonIgnore
    protected Integer delFlag = 0;

    private String title ;
    //英文标题
	private String titleEn;
	//意大利文标题
	private String titleIt;

    private Long catalogId ;
	

    private String content ;
    //英文内容
    private String contentEn;
    //意大利文内容
    private String contentIt;

    private String keywords;
    private String description;
    private String descriptionEn;
    private String descriptionIt;
    private String tag;
    private String tagValue;


    private String url ;
	

    private Date createTime ;
    private Date showTime ;
    private Date updateTime ;


    private String attr1 ;
	

    private String attr2 ;
	

    private String attr3 ;
  //排序
    private Integer seq;
    
    private String attachmentId;
    
    private String province;
    private String city;
    private String country;
    private boolean top = false;
    private Date topTime;
    private String imageId;

    private Integer hot;

    private Integer memberId;

    private Long userId;

    public CmsArticle(){
    }

    public Long getId(){
        return  id;
    }
    public void setId(Long id){
        this.id = id;
    }

    public String getTitle(){
        return  title;
    }
    public void setTitle(String title){
        this.title = title;
    }

    public Long getCatalogId() {
		return catalogId;
	}

	public void setCatalogId(Long catalogId) {
		this.catalogId = catalogId;
	}

	public String getContent(){
        return  content;
    }
    public void setContent(String content){
        this.content = content;
    }

    public String getUrl(){
        return  url;
    }
    public void setUrl(String url){
        this.url = url;
    }

    public Date getCreateTime(){
        return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public String getAttr1(){
        return  attr1;
    }
    public void setAttr1(String attr1){
        this.attr1 = attr1;
    }

    public String getAttr2(){
        return  attr2;
    }
    public void setAttr2(String attr2){
        this.attr2 = attr2;
    }

    public String getAttr3(){
        return  attr3;
    }
    public void setAttr3(String attr3){
        this.attr3 = attr3;
    }

	public String getAttachmentId() {
		return attachmentId;
	}

	public void setAttachmentId(String attachmentId) {
		this.attachmentId = attachmentId;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getShowTime() {
		return showTime;
	}

	public void setShowTime(Date showTime) {
		this.showTime = showTime;
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getTag() {return tag;}

    public void setTag(String tag) {this.tag = tag;}

    public String getTagValue() {
        return tagValue;
    }

    public void setTagValue(String tagValue) {
        this.tagValue = tagValue;
    }

    public boolean isTop() {return top; }

    public void setTop(boolean top) {this.top = top;}
    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public Integer getHot() {
        return hot;
    }

    public void setHot(Integer hot) {
        this.hot = hot;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getTopTime() {
        return topTime;
    }

    public void setTopTime(Date topTime) {
        this.topTime = topTime;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTitleEn() {
        return titleEn;
    }

    public void setTitleEn(String titleEn) {
        this.titleEn = titleEn;
    }

    public String getTitleIt() {
        return titleIt;
    }

    public void setTitleIt(String titleIt) {
        this.titleIt = titleIt;
    }

    public String getContentEn() {
        return contentEn;
    }

    public void setContentEn(String contentEn) {
        this.contentEn = contentEn;
    }

    public String getContentIt() {
        return contentIt;
    }

    public void setContentIt(String contentIt) {
        this.contentIt = contentIt;
    }

    public String getDescriptionEn() {
        return descriptionEn;
    }

    public void setDescriptionEn(String descriptionEn) {
        this.descriptionEn = descriptionEn;
    }

    public String getDescriptionIt() {
        return descriptionIt;
    }

    public void setDescriptionIt(String descriptionIt) {
        this.descriptionIt = descriptionIt;
    }
}
